package com.learn.mapper;

import com.learn.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author DJJ_F
 * @version 1.0
 * @date 2025/02/21
 * @description 相当于dao接口
 */
public interface UserMapper {
    List<User> selectById(Integer id);

    List<User> selectByTime(Date date);

    int insertByMap(Map<String, Object> map);
    int insertParams(@Param("name") String name, @Param("password") String password);
}
